<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page trimDirectiveWhitespaces="true"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>

<c:set var="ctx" value="${pageContext.request.contextPath}" />
<div class="container">

	<h4>关于服务的说明</h4>
	<div>
		<textarea name="projectdesc" class="form-control required" id="projectdesc" ></textarea>
		<span class="btn btn-success fileinput-button" 	style="display: none;"> 
			<i class="glyphicon glyphicon-plus"></i> 
			<span>添加图片</span> <!-- 单选 -->
		<input id="fileupload" type="file" name="files[]">
		</span>
	</div>
	<div style="margin:10px 0;">
		<input type="button" class="btn btn-primary" value="保存" id="save1" />
	</div>
	<br>
	<h4>网页底部信息</h4>
	<div>
		<textarea name="footerinfo" class="form-control required" id="footerinfo" ></textarea>
		<span class="btn btn-success fileinput-button" 	style="display: none;"> 
			<i class="glyphicon glyphicon-plus"></i> 
			<span>添加图片</span> <!-- 单选 -->
		<input id="fileupload" type="file" name="files[]">
		</span>
	</div>
	<div style="margin:10px 0;">
		<input type="button" class="btn btn-primary" value="保存" id="save2"  />
	</div>
	<br>
	<h4>网站关键词</h4>
	<div>
		<textarea name="webkeyword" class="form-control required" id="webkeyword"></textarea>
		<span class="btn btn-success fileinput-button" 	style="display: none;"> 
			<i class="glyphicon glyphicon-plus"></i> 
			<span>添加图片</span> <!-- 单选 -->
		<input id="fileupload" type="file" name="files[]">
		</span>
	</div>
	<div style="margin:10px 0;">
		<input type="button" class="btn btn-primary" value="保存" id="save3"/>
	</div>
	<br>
	<h4>网站描述</h4>
	<div>
		<textarea name="webdesc" class="form-control required" id="webdesc"></textarea>
		<span class="btn btn-success fileinput-button" 	style="display: none;"> 
			<i class="glyphicon glyphicon-plus"></i> 
			<span>添加图片</span> <!-- 单选 -->
		<input id="fileupload" type="file" name="files[]">
		</span>
	</div>
	<div style="margin:10px 0;">
		<input type="button" class="btn btn-primary" value="保存" id="save7"/>
	</div>
	<br>
	<h4>登录/注册页面的图片</h4>
	<div class="admin-upload-img">
		<input id="login-img" type="hidden" value="" name="login-img" />
		<input 	type="file" class="file-input" name="" id="file-input">
		<!-- <input type="button" id="cover-upload" value="上传图片" class="upload-front" > -->
		<div style="position: relative; margin-left: 95px;top: -25px;">
			<div id="progress" class="coverId-name">
				<div class="bar" style="width: 0%; position: absolute;"></div>
					图片最佳尺寸为468*328像素，不超过1mb！
			</div>
		</div>
		<div id="img-preview">
		</div>
	</div>
	<div style="margin:10px 0;">
		<input type="button" class="btn btn-primary" value="保存" id="save4" />
	</div>
	<br>
	<h4>网页顶部分类</h4>
	<div>
		<form id="header-form" style="margin:0;">
			<span>分类一：</span>
			<input type="text" name="indexItem0" value="首页" readonly>
			<span>分类二：</span>
			<input type="text" name="indexItem1" value="发现">
			<br>
			<span>分类三：</span>
			<input type="text" name="indexItem2" value="活动">
			<span>分类四：</span>
			<input type="text" name="indexItem3" value="开始">
		</form>
		<div style="margin:0 0 10px;">
		<input type="button" class="btn btn-primary" value="保存" id="save5" />
	</div>
	<br>
	</div>
	<h4>首页展示分类</h4>
	<div>
		<form id="recommend-form" style="margin:0;">
			<span>分类一：</span>
			<input type="text" name="itemFirstname" value="金牌服务">
			<span>分类二：</span>
			<input type="text" name="itemSecname" value="最新上线">
			<span>分类三：</span>
			<input type="text" name="itemFname" value="小众服务">
		</form>
		<div style="margin:0 0 10px;">
		<input type="button" class="btn btn-primary" value="保存" id="save6" />
		</div>
	</div>
	<br>
	<h4>网页底部信息</h4>
	<div class="content" id="footer">
		<dl>
			<dt><input value="客服服务"></dt>
			<dd><input value="公益机构:"></dd>
			<dd><input value="个人用户:" ></dd>
			<dd><input value="个人服务商:"></dd>
			<dd><input value="财务联系:"></dd>
			<dd><input value=""></dd>
		</dl>
		<dl>
			<dt><input value="加入我们"></dt>
			<dd><input value="微信订阅号:"></dd>
			<dd><input value="YAMI团队:个人用户:" ></dd>
			<dd><input value=""></dd>
			<dd><input value=""></dd>
			<dd><input value=""></dd>
		</dl>
		<dl>
			<dt><input value="联系我们们"></dt>
			<dd><input value="意见反馈: "></dd>
			<dd><input value="官方微博 :" ></dd>
			<dd><input value=""></dd>
			<dd><input value=""></dd>
			<dd><input value=""></dd>
		</dl>
		<div class="clearfix"></div>
		<div>
		<p class="site-info" style="text-align:center;"><input value="xxxxx公司"> </p>
		</div>
	</div>
	<div style="margin:0 0 10px;">
		<input type="button" class="btn btn-primary" value="保存" id="save8" />
	</div>

</div>








<c:if test="${env == 'production' }">
	<script type="text/javascript">
		seajs.use("${ctx}/assets/js-dist/admin/web-desc-page");
	</script>
</c:if>
<c:if test="${env != 'production' }">
	<script type="text/javascript">
		seajs.use("${ctx}/assets/js/admin/web-desc-page");
	</script>
</c:if>